<%-- 
    Document   : login
    Created on : 2017-6-25, 14:59:46
    Author     : JSJSYS
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>   
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
        <meta name="description" content="">
        <meta name="author" content="">


        <title>登录</title>

        <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

        <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
        <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

    </head>

    <body>

        <div class="container">
            <div class="row">
                <div class="col-sm-4"></div>
                <div class="col-sm-4">
                    <form method="post" action="conform" class="form-signin">
                        <h3 class="form-signin-heading">请登录</h3>
                        <p><%=request.getAttribute("msg")%></p>
                        <label for="inputUsername" class="sr-only">用户名</label>
                        <input id="username" type="text" class="form-control" name="username" value="${username}" placeholder="用户名" required autofocus>
                        <label for="inputPassword" class="sr-only">密码</label>
                        <input id="password" type="password" class="form-control" name="password"  placeholder="密码" required>
                        <div class="checkbox">
                            <label>
                                <input type="checkbox" value="remember-me"> 记住密码
                            </label>
                        </div>
                        <button class="btn btn-lg btn-primary btn-block" id="submit" type="submit">登录</button>
                    </form>
                    
                </div> <!-- /container -->
            </div>
            <div class="col-sm-4"></div>
    </body>
</html>
